package com.by.log.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.log.entity.LogEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;

/**
 * 日志Mapper接口
 */
@Mapper
public interface LogMapper extends BaseMapper<LogEntity> {
    /**
     * 批量插入日志数据
     *
     * @param entityList 日志实体列表
     * @return 插入的记录数
     */
    int insertBatchSomeColumn(Collection<LogEntity> entityList);
}